JMIdle
Allows JManager time to service other threads.
OSStatus JMIdle (JMSessionRef session, UInt32 JMTimeMillis);
session
- The current session.
JMTimeMillis
- The amount of time, in milliseconds, allowed to service other threads. For the default wait period, you can set this parameter to
kDefaultJMTime
.- function result
- A result code; see "JManager Result Codes".
DISCUSSION
If no threads need to be serviced,JMIdle
returns immediately.JMIdle
also returns, suspending other threads, if a user event occurs in the current session. You should call theJMIdle
function once each time through the event loop.SEE ALSO
"Servicing Other Threads".The
JMFrameMouseOver
function.